<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>INSPINIA | E-commerce</title>
    <link rel="stylesheet" href="https://www.jq22.com/jquery/bootstrap-3.3.4.css">
    <link rel="stylesheet" href="https://www.jq22.com/jquery/font-awesome.4.6.0.css">
    {% load static %}
    <link href="{% static 'plugins/dashboard/css/footable.core.css' %}" rel="stylesheet">
    <link href="{% static 'plugins/dashboard/css/animate.css' %}" rel="stylesheet">
    <link href="{% static 'plugins/dashboard/css/style.css' %}" rel="stylesheet">
</head>
<body>
<div id="wrapper">
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="sidebar-collapse">
            <ul class="nav metismenu" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element"> <span>
<img alt="image" class="img-circle" src="{{request.user_obj.avatar.url}}"/>
</span>
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
<span class="clear"> <span class="block m-t-xs"> <strong class="font-bold">{{ request.session.username }}</strong>
</span> <span class="text-muted text-xs block">更多 <b class="caret"></b></span> </span> </a>
                        <ul class="dropdown-menu animated fadeInRight m-t-xs">
                            <li><a href="{% url "profile" %} ">个人进度</a></li>
                            <li class="divider"></li>
                            <li><a href="{% url "logout" %}">退出</a></li>
                        </ul>
                    </div>
                    <div class="logo-element">
                        IN+
                    </div>
                </li>

                <li>
                    <a href="{% url 'article_list' %}"><i class="fa fa-book"></i> <span class="nav-label">文章管理</span> </a>
                </li>
                <li>
                    <a href="{% url 'category_list' %}"><i class="fa fa-globe"></i> <span class="nav-label">分类管理</span> </a>
                </li>
                <li>
                    <a href="{% url 'series_list' %}"><i class="fa fa-globe"></i> <span class="nav-label">系列管理</span> </a>
                </li>


            </ul>
        </div>
    </nav>
    <div id="page-wrapper" class="gray-bg">
        <div class="row border-bottom">
            <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                <div class="navbar-header">
                    <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i>
                    </a>
                    <form role="search" class="navbar-form-custom" action="">
                        <div class="form-group">
                            <input type="text" placeholder="输入查询的文章,回车查询..." class="form-control"
                                   name="query" id="top-search">
                        </div>
                    </form>
                </div>
                <ul class="nav navbar-top-links navbar-right">
                    <li>
                        <a href="{% url "index" %}">
                            <i class="fa fa-inbox"></i> 返回主页面
                        </a>
                    </li>
                    <li>
                        <a href="{% url "logout" %}">
                            <i class="fa fa-sign-out"></i> 退出
                        </a>
                    </li>
                </ul>
            </nav>
        </div>
        <div class="wrapper wrapper-content animated fadeInRight ecommerce">
            <div class="row">
                <div class="col-lg-12">
                    <div class="ibox">
                        <div class="ibox-content">
                            {% block main %}
                                <h1>世界因你而改变！</h1>
                                <div style="width: 7rem; height: 7rem; margin: 0 auto; position: absolute; top: 25%; left: 50%; margin-left: -3.5rem; border-radius: 50%; overflow: hidden; background: url(/static/Earth/images/aa.jpg); background-size: auto 100%; box-shadow: inset 0px 0px 170px 30px rgba(0,0,0,1);"></div>
                            {% endblock main %}
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="footer">
            <div class="pull-right">
                10GB of <strong>250GB</strong> Free.
            </div>
            <div>
                <strong>Copyright</strong> Example Company &copy; 2014-2015
            </div>
        </div>
    </div>
</div>

<script src="{% static 'plugins/dashboard/js/jquery-2.1.1.js' %}"></script>
<script src="{% static 'plugins/dashboard/js/bootstrap.min.js' %}"></script>
<script src="{% static 'plugins/dashboard/js/jquery.metisMenu.js' %}"></script>
<script src="{% static 'plugins/dashboard/js/jquery.slimscroll.min.js' %}"></script>

<script src="{% static 'plugins/dashboard/js/inspinia.js' %}"></script>
<script src="{% static 'plugins/dashboard/js/pace.min.js' %}"></script>

<script src="{% static 'plugins/dashboard/js/footable.all.min.js' %}"></script>
<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
<script src="{% static 'Earth/js/rem.js' %}"></script>
{% block sj %}

{% endblock %}
<script>
		$(function() {
			ab();

			function ab() {
				var k=0
				setInterval(function(){
					k++;
					$('div').css('background-position-x',"-"+k+"px")
				},40);
			}
		})
	</script>
<script>
    $(document).ready(function () {

        $('.footable').footable();

    });

</script>
</body>
</html>
